package cn.kent.builderPattern;

import java.util.ArrayList;

/**
 * 按照一定顺序制造一个奔驰车
 * @author kent
 * @date 2021/6/1 16:08
 */
public class BenzBuilder extends CarBuilder {
    private BenzModel benz = new BenzModel();

    @Override
    public void setSequence(ArrayList<String> sequence) {
        this.benz.setSequence(sequence);
    }

    @Override
    public CarModel getCarModel() {
        return this.benz;
    }
}
